CommonsBooking\Plugin A

Total Complexity 74
Dependencies 24
Dependents 13
Total lines 674
Lines of code 388
Logical lines of code 170
Comment lines 161
Methods 31
Properties 1

Methods 31

Method Rating Maintainability Complexity Lines of code
setParentFile()
S
55 7 20
addCustomUserRoles()
S
50 5 30
savePostActions()
S
53 5 27
getTheContent()
S
62 6 11
removeDeprecatedUserRoles()
S
52 5 25
addMenuPages()
S
45 2 47
addRoleCaps()
S
50 3 30
renderError()
S
57 3 18
updateLocationCoordinates()
S
66 4 8
runTasksAfterUpdate()
S
62 3 11
initRoutes()
S
58 2 17
registerItemTaxonomy()
S
58 2 16
registerLocationTaxonomy()
S
58 2 16
init()
S
56 1 17
admin_init()
S
67 2 8
maybeEnableCB1UserFields()
S
70 2 6
registerAdminOptions()
S
68 2 6
activation()
S
69 2 7
getCacheId()
S
63 2 10
registerCustomPostTypes()
S
70 2 6
registerPostStates()
S
72 2 5
saveOptionsActions()
S
79 1 3
registerUserWidget()
S
81 1 3
clearCache()
S
66 1 9
getCustomPostTypesLabels()
S
68 1 8
getCustomPostTypes()
S
68 1 8
initBookingcodes()
S
73 1 4
commonsbooking_load_textdomain()
S
78 1 3
setCacheItem()
S
78 1 3
getCacheItem()
S
79 1 3
updateUserRoleName()
S
79 1 3